﻿@model HelpDeskTicketingApp.Models.RegisterViewModel
@{
    ViewBag.Title = "Register";
    Layout = "_LayoutEmpty.cshtml";
}
<section id="loginForm" class="box box-info">
    <div class="box-body">

        @using (Html.BeginForm("Register", "Account", FormMethod.Post, new { @class = "form", role = "form" }))
        {
            @Html.AntiForgeryToken()
            <h4>Create a new account.</h4>
            <hr />
            @Html.ValidationSummary("", new { @class = "text-danger" })
            <div class="form-group">
                @Html.LabelFor(m => m.Email)

                @Html.TextBoxFor(m => m.Email, new { @class = "form-control" })

            </div>


            <div class="form-group">
                @Html.LabelFor(m => m.FirstName)

                @Html.TextBoxFor(m => m.FirstName, new { @class = "form-control" })

            </div>

            <div class="form-group">
                @Html.LabelFor(m => m.LastName)

                @Html.TextBoxFor(m => m.LastName, new { @class = "form-control" })

            </div>


            <div class="form-group">
                @Html.LabelFor(m => m.Password)

                @Html.PasswordFor(m => m.Password, new { @class = "form-control" })

            </div>
            <div class="form-group">
                @Html.LabelFor(m => m.ConfirmPassword)

                @Html.PasswordFor(m => m.ConfirmPassword, new { @class = "form-control" })

            </div>


            <div class="form-group">

                <input type="submit" class="btn btn-default" value="Register" />

            </div>
        }


    </div>
</section>







@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
